﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Streaming_Service.Media {
    using System.Runtime.Serialization;

    using Streaming_Service.Enum;

    [DataContract]
    public class RatingEntry {

        //The id of the user
        [DataMember]
        public int UserId { get; set; }

        //The id of the movie
        [DataMember]
        public int MovieId { get; set; }

        //The rating of the movie
        [DataMember]
        public Rating Rating { get; set; }

        //The comment of the rating
        [DataMember]
        public String Comment { get; set; }
    }
}